﻿using System;
using System.Collections;
using System.Collections.Generic;

namespace ManyinEngine
{
    public class Node
    {
        private int?[] _edges;

        public Node()
        {
            _edges = new int?[6];
        }

        public string Name { get; set; }

        public int Index { get; set; }

        public int? this[Edges edge]
        {
            get { return _edges[(int) edge]; }
            set { _edges[(int) edge] = value; }
        }

    }

    

    public enum Edges
    {
        Top = 0,
        RightTop = 1,
        RightBot = 2,
        Bot = 3,
        LeftBot = 4,
        LeftTop = 5
    }
}
